package com.xdf.xzymanagementsystem.service;

import com.xdf.xzymanagementsystem.dto.TreeDTO;
import com.xdf.xzymanagementsystem.entity.JcDepartment;

import java.util.List;

/**
 * @Description : 业务层接口,该类为生成器自动生成.
 * @Author : 张柯
 * @Date : 2020-12-31 14:42:38
 */
public interface JcDepartmentService {
     int insert(JcDepartment record) throws Exception;

     int insertSelective(JcDepartment record) throws Exception;

     int multiInsert(List<JcDepartment> list) throws Exception;

     int updateByPrimaryKey(JcDepartment record) throws Exception;

     int updateByPrimaryKeySelective(JcDepartment record) throws Exception;

     int update(JcDepartment record) throws Exception;

     int multiUpdate(List<JcDepartment> list) throws Exception;

     JcDepartment selectByPrimaryKey(Integer id) throws Exception;

     int deleteByPrimaryKey(Integer id) throws Exception;

     List<JcDepartment> listQuery(JcDepartment record) throws Exception;

     List<TreeDTO> listQueryTreeNodes(Integer parentId) throws Exception;

}